package com.lagou.webwork.model;

import java.io.Serializable;

/**
 * @author sjp
 * @date 2021/6/4 15:14
 * @description
 */
public class Class{
    private int id;

    /**
     * 班级名称
     */
    private String name;
    /**
     * 年级
     */
    private String grade;
    /**
     * 班主任
     */
    private String classMaster;

    /**
     * 班级口号
     */
    private String remark;

    /**
     * 班级人数
     */
    private int number;

    public Class() {
    }

    public Class(int id, String name, String grade, String classMaster, String remark, int number) {
        this.id = id;
        this.name = name;
        this.grade = grade;
        this.classMaster = classMaster;
        this.remark = remark;
        this.number = number;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getClassMaster() {
        return classMaster;
    }

    public void setClassMaster(String classMaster) {
        this.classMaster = classMaster;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return "{" +
                "\"id\":\"" + id +
                "\", \"name\":\"" + name +
                "\", \"grade\":\"" + grade +
                "\", \"classMaster\":\"" + classMaster +
                "\", \"remark\":\"" + remark +
                "\", \"number\":\"" + number +
                "\"}";
    }
}
